package com.hxrfid.project.domain.bo;

import com.hxrfid.common.core.domain.BaseEntity;
import com.hxrfid.common.core.validate.AddGroup;
import com.hxrfid.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 区域管理业务对象 bs_area
 *
 * @author hxrfid
 * @date 2025-06-13
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsAreaBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 区域
     */
    @NotBlank(message = "区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private String area;

    /**
     * 详细区域
     */
    @NotBlank(message = "详细区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private String areaAddr;

    /**
     * 备注
     */
    private String remark;


}
